@for (item of items(); track item.id; let idx = $index) {
  <li class="item">
    <span>{{ item.value }}</span>
    <div>
      <button class="editBtn" (click)="edit.emit(item)">Edit</button>
      <button class="deleteBtn" (click)="delete.emit(idx)">Delete</button>
    </div>
  </li>
}
